package com.xhsj.user.pms.oareply.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhsj.user.generalprocess.vo.GeneralAuditVo;
import com.xhsj.user.hr.base.BaseParam;
import com.xhsj.user.pms.oareply.dto.FindRunTaskDto;
import com.xhsj.user.pms.oareply.vo.PatentOaHiTaskVo;
import com.xhsj.user.pms.oareply.vo.PatentOaRunTaskVo;
import com.xhsj.user.pms.patent.vo.FindRunTaskVo;
import org.apache.ibatis.annotations.Mapper;
import com.xhsj.user.pms.oareply.entity.TbPamPatentOa;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * <p>
 * 专利OA答复 Mapper 接口
 * </p>
 *
 * @author liuqinghua
 * @since 2021-07-28
 */
@Mapper
public interface TbPamPatentOaMapper extends BaseMapper<TbPamPatentOa> {

    IPage<PatentOaRunTaskVo> findRunTask(Page<PatentOaRunTaskVo> page,
                                         @Param("entity") GeneralAuditVo entity,
                                         @Param("baseParam") FindRunTaskDto baseParam);

    IPage<PatentOaHiTaskVo> findHiTask(Page<PatentOaHiTaskVo> page,
                                       @Param("entity") GeneralAuditVo entity,
                                       @Param("baseParam") FindRunTaskDto baseParam);
}
